package com.study.entity;

import java.util.Date;

/**
 * @author sjw
 * @className OrderEvent
 * @date 2020/11/28 18:30
 * @description: TODO
 */
public class OrderEvent {
    private Long userId;
    private String action;
    private String orderId;
    private Long timestamp;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "OrderEvent{" +
                "userId='" + userId + '\'' +
                ", action=" + action +
                ", orderId=" + orderId +
                ",timestamp"+timestamp+
                '}';
    }
}
